Don't use g_slist_next in gtktextlayout.c
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Oct 2015 00:40:15 +0000 (20:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 20 Oct 2015 10:14:57 +0000 (06:14 -0400)
We generally use ->next directly.

gtk/gtktextlayout.c

index e6a4ab9a6169cff016694f8f01312f347725fcd4..185c1a0de7dcc3d7d502a70dae34329cae0deef7 100644 (file)
@@ -1743,7 +1743,7 @@ add_child_attrs (GtkTextLayout      *layout,
           break;
         }
       
-      tmp_list = g_slist_next (tmp_list);
+      tmp_list = tmp_list->next;
     }
 
   if (tmp_list == NULL)